package com.example.dream.talentbase.service.impl;

import com.example.dream.talentbase.dao.TalentBaseDao;
import com.example.dream.talentbase.entiy.AllGradesTableEntiy;
import com.example.dream.talentbase.entiy.AnatomiaEntity;
import com.example.dream.talentbase.service.TalentBaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @className TalentBaseserviceImpl
 * @Description TODO
 * @Autor WUAO
 * @Date 2022/8/16 20 37
 */
@Service
public class TalentBaseserviceImpl implements TalentBaseService {
    @Autowired
    TalentBaseDao dao;
    @Override
    public Boolean insert(AllGradesTableEntiy entity) {
        return dao.insert(entity);
    }

    @Override
    public Boolean insertAtm(AnatomiaEntity entity) {
        return dao.insertAtm(entity);
    }
}
